package com.ld.security.server.user.modules.dsp.vo;

import com.ld.security.common.core.base.SuperVo;
import com.ld.security.common.mybatis.anno.JoinKey;
import com.ld.security.common.mybatis.anno.QueryKey;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.anno.SqlKeys;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.server.user.modules.dsp.constant.DspDispatchConstant;
import com.ld.security.server.user.modules.dsp.entity.DspAdvertEntity;
import com.ld.security.server.user.modules.dsp.entity.DspDispatchEntity;
import lombok.Data;

import java.util.List;

@JoinKey(tableX = "dsp_advert x",tableY = "dsp_dispatch y",on = "x.id = y.advert_id")
@Data
public class ActDipatchVo implements SuperVo {

    /**
     * 广告位编码
     */
    @SqlKey(name = "y.space_code")
    private String spaceCode;



    /**
     * 状态
     */
    @SqlKey(name = "y.disp_status")
    private DspDispatchConstant.dispStatus dispStatus;

    @SqlKey(name = "y.id")
    private String id;

    @SqlKey(name = "y.advert_id")
    private String advertId;

    @SqlKey(name = "y.spaceId")
    private String spaceId;



    @SqlKey(name = "x.label")
    private String label;

    @SqlKey(name = "x.content")
    private String content;

    @SqlKey(name = "x.picture")
    private String picture;

    @SqlKey(name = "x.linkUrl")
    private String linkUrl;


}
